<div class="board">
  <div class="board_heading">
    <div class="board_title">
      <span class="board_title"><%= h board.title %></span>
    </div>
    <div class="board_control" id="board_control_<%= board.id %>">
    </div>
  </div>
  <div class="board_content" id="board_content_<%= board.id %>">
    <table class="boards_table" cellspacing="5" cellpadding="5" width="100%">
      <tr>
        <th>Thread</th>
        <th>Author</th>
        <th>Posts</th>
        <th>Last Message</th>
      </tr>
      <% board.discussions.each_with_counter do |discussion, counter| %>
        <%= render(:partial=>'discussion', :object=>discussion,
                   :locals => {:counter => counter}) %>
      <% end %>
    </table>
  </div>
</div>